﻿using In66.Net.Repository.Dapper.Repositories;

namespace In66.Net.Repository.Dapper.Extensions
{
    public static class InfraDapperServiceCollectionExtension
    {
        public static IServiceCollection AddAdncInfraDapper(this IServiceCollection services)
        {
            services.TryAddScoped<IAdoExecuterWithQuerierRepository, DapperRepository>();
            services.TryAddScoped<IAdoExecuterRepository, DapperRepository>();
            services.TryAddScoped<IAdoQuerierRepository, DapperRepository>();
            return services;
        }
    }
}
